package com.cwt.service.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cwt.common.result.AjaxResult;
import com.cwt.service.domain.SysRoleMenu;
import com.cwt.service.service.SysRoleMenuService;
import com.cwt.service.mapper.SysRoleMenuMapper;
import org.springframework.stereotype.Service;

/**
* @author Acer
* @description 针对表【sys_role_menu(角色-权限 关系表)】的数据库操作Service实现
* @createDate 2023-07-19 14:06:59
*/
@Service
public class SysRoleMenuServiceImpl extends ServiceImpl<SysRoleMenuMapper, SysRoleMenu>
    implements SysRoleMenuService{

    @Override
    public AjaxResult selectMenusByRoleId(int roleId) {
        return AjaxResult.success(baseMapper.selectMenusByRoleId(roleId));
    }

}




